package com.example.redisdemo.demos;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName: User
 * @Description:
 * @Date 2024/04/03 15:51
 * @Author songshaoqiu
 **/
@Data
@NoArgsConstructor
public class User implements Serializable {

    private Integer id;
    private String name;

    private Integer age;

    public User(Integer id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }
}
